package com.jin.webvideo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

@Mapper
public interface ShareRoomMapper {
    @Select("select roomId, url, creator, currentTime, roomStatus from share_room where roomId = #{roomId} and playStatus = 1")
    Map<String, String> findByRoomId(String roomId);
}
